# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=iceauth
pkgver=1.0.9
pkgrel=0
pkgdesc="X.Org ICE authority file utility"
url="http://xorg.freedesktop.org"
arch="all"
license="MIT"
subpackages="$pkgname-doc"
makedepends="libice-dev util-macros"
source="https://www.x.org/releases/individual/app/iceauth-$pkgver.tar.xz"

build() {
	./configure \
		--build=$CBUILD \
		--host=$CHOST \
		--prefix=/usr \
		--mandir=/usr/share/man
	make
}

check() {
	make check
}

package() {
	make DESTDIR="$pkgdir" install
}

sha512sums="
16b2f58008587cf1544037ca8b1c76dbb75eb043b3048b3064e66ba6b147962233f1453c2cf18bfb136dd6dd21d3e27b5219e17e1ab7b81dbe93fb6aff801a72  iceauth-1.0.9.tar.xz
"
